﻿using B.S.BasicData.Api.Read.DTOs;
using B.S.BasicData.ErrorCode;
using MediatR;

namespace B.S.BasicData.Api.Read.Application.Command.Account
{

    /// <summary>
    /// 查询账号列表分页命令
    /// </summary>
    public class GetAccountPageCommand:IRequest<ApiPaging<AccountListDTO>>
    {
        /// <summary>
        /// 根据账号名称查询
        /// </summary>
        public string? AccountName {  get; set; }
        /// <summary>
        /// 根据部门名称模糊查询
        /// </summary>
        public string ? DepartMentName { get; set; }
        /// <summary>
        /// 当前页码
        /// </summary>
        public int PageIndex { get; set; } = 1;
        /// <summary>
        /// 页容量
        /// </summary>
        public int PageSize { get; set; } = 22;
             
    }
}
